body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}
.mainpage {
    max-width: 800px;
    padding: 10px;
    box-sizing: border-box;
}
.searchbox {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    display: flex;
    align-items: center;
}
.searchbox input {
    height: 30px;   
    flex: 1;
    border: none;
    box-sizing: border-box;

}

.resultbox {
    width: 100%;
    height: 728px;
    padding: 5px;
    display: flex;
    flex-direction:column;
    overflow-y: scroll;
}

.topic {
    background-color: #ccc;
    border-radius: 10px;
    padding: 5px;
    margin-bottom: 5px;
    cursor: pointer;
}

.topic-id {
    color: brown;
}
.topic-ask {
    color: blue;
}
.topic-info {
    color: darkgreen;
}

.topic-content {
    color: black;
}

.topic-content a {
    color: blue;
    text-decoration: none;
}

.topic-content a:hover {
    text-decoration: underline;
}

.topic-content img {
    max-width: 100%;
}

.topic-content p {
    margin-bottom: 10px;
}